﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skynet.BusinessEntities;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.PolicyInjection;

namespace Skynet.BusinessLogic.DataAccess
{
    public interface IExamCategoryRepository 
    {
        //void Add(ExamCategory item);
        //void Add(IEnumerable<ExamCategory> items);
        //void Update(ExamCategory item);
        //void Update(IEnumerable<ExamCategory> items);
        //void Delete(ExamCategory item);
        //void Delete(IEnumerable<ExamCategory> items);

        void Maintenance(ExamCategory item);

        ExamCategory GetOne(object key);
        IEnumerable<ExamCategory> GetAll();

        System.Data.IDataReader GetAllStream();
        System.Data.DataTable GetTable();
        void UpdateTable(System.Data.DataTable ds);
      
    }
}
